<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ViewProjects.ascx.cs" Inherits="TimeSheet.Protected.View.Model.ViewProjects" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" enableViewState="False"%>
<%@ Register TagPrefix="ew" Namespace="eWorld.UI" Assembly="eWorld.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=24d65337282035f2" %>


<ew:collapsablepanel id=cpGrid runat="server" 
TitleText="View Projects" expandtext=" " collapsetext="Close" 
cssclass="CollapseablePanel" ExpandImageUrl="../../../images/expand.gif" 
CollapseImageUrl="../../../images/collapse.gif" ShowLinkOrImage="True" 
AllowTitleRowExpandCollapse="True" TitleStyle-CssClass="CollapseablePanelTitle" 
CollapsedTitleStyle-CssClass="CollapseablePanelTitleCollapsed">&nbsp; 
<h1>Viewing All Projects</h1>
<p>
<ew:EmptyDataGrid id="dgActivities" runat="server" CellPadding="3" BackColor="White" BorderWidth="1px" BorderStyle="None" BorderColor="#CCCCCC" AutoGenerateColumns="False" Width="100%">
<selecteditemstyle font-bold="True" forecolor="White" backcolor="#669999">
</SelectedItemStyle>

<itemstyle forecolor="#000066">
</ItemStyle>

<headerstyle font-bold="True" forecolor="White" backcolor="#006699">
</HeaderStyle>

<footerstyle forecolor="#000066" backcolor="White">
</FooterStyle>

<columns>
<asp:BoundColumn Visible="False" DataField="project_id" ReadOnly="True"></asp:BoundColumn>
<asp:HyperLinkColumn DataNavigateUrlField="project_id" DataNavigateUrlFormatString="../../Project.aspx?id={0}" DataTextField="client_project" HeaderText="Client - Project"></asp:HyperLinkColumn>
<asp:BoundColumn DataField="status_name" SortExpression="status_name" ReadOnly="True" HeaderText="Status"></asp:BoundColumn>
<asp:ButtonColumn Text="Delete" ButtonType="PushButton" CommandName="Delete"></asp:ButtonColumn>
</Columns>

<pagerstyle horizontalalign="Left" forecolor="#000066" backcolor="White" mode="NumericPages">
</PagerStyle>
</ew:EmptyDataGrid></p></ew:collapsablepanel>
